YJDH-810 | Kesäseteli backend: Upgrade Django 5.1→5.2 and all packages#3902
YJDH-810 | Kesäseteli backend: Upgrade Django 5.1→5.2 and all packages#3902karisal-anders wants to merge 1 commit intomainfrom
Conversation
Changed from Django 5.1 to 5.2 and upgraded all packages using: ``` pip-compile --upgrade requirements.in pip-compile --upgrade requirements-dev.in pip-compile --upgrade requirements-prod.in ``` Did the last two commands while commenting out the `-e file:../shared` line in requirements.txt i.e. the workaround given in requirements-dev.in and requirements-prod.in: - NOTE: You need to comment out "-e file:../shared" in requirements.txt when running pip-compile. Otherwise, you might get an "Unnamed requirements are not allowed as constraints" error. refs YJDH-810
There was a problem hiding this comment.
Pull request overview
This PR upgrades the Kesäseteli backend from Django 5.1.15 to Django 5.2.11 and updates all Python package dependencies to their latest versions. The upgrade was performed using pip-compile with the --upgrade flag across all three requirements files (requirements.txt, requirements-dev.txt, requirements-prod.txt), following the documented workflow of temporarily commenting out the -e file:../shared line to avoid pip-compile errors.
Changes:
- Upgraded Django from 5.1.15 (pinned) to ~=5.2 specification, allowing Django 5.2.x versions
- Updated all package dependencies to their latest compatible versions
- Removed obsolete FIXME comment about Django version pinning
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| backend/kesaseteli/requirements.in | Changed Django version constraint from pinned 5.1.15 to ~=5.2, removed FIXME comment |
| backend/kesaseteli/requirements.txt | Updated 30+ package versions including Django 5.2.11, urllib3 2.6.3, and removed tzdata dependency |
| backend/kesaseteli/requirements-dev.txt | Updated 14 development dependency versions including pytest-django 4.12.0 and coverage 7.13.4 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
YJDH-KESASETELI-API branch is deployed to platta: https://yjdh-kesaseteli-pr3902.api.dev.hel.ninja 🚀🚀🚀 |
|
YOUTH branch is deployed to platta: https://nuortenkesaseteli-pr3902.dev.hel.ninja 🚀🚀🚀 |
|
HANDLER branch is deployed to platta: https://kesaseteli-handler-ui-pr3902.dev.hel.ninja 🚀🚀🚀 |
TestCafe result is success for https://nuortenkesaseteli-pr3902.dev.hel.ninja 😆🎉🎉🎉 |
TestCafe result is success for https://kesaseteli-handler-ui-pr3902.dev.hel.ninja 😆🎉🎉🎉 |
|
EMPLOYER branch is deployed to platta: https://kesaseteli-pr3902.dev.hel.ninja 🚀🚀🚀 |
TestCafe result is success for https://kesaseteli-pr3902.dev.hel.ninja 😆🎉🎉🎉 |



Description ✨
Kesäseteli backend: Upgrade Django 5.1→5.2 and all packages
Changed from Django 5.1 to 5.2 and upgraded all packages using:
Did the last two commands while commenting out the
-e file:../sharedline in requirements.txt i.e. the workaround given in requirements-dev.in and requirements-prod.in:Issues 🐛
YJDH-810
Testing ⚗️
Screenshots 📸
Additional notes 🗒️